<include file="Public/head" />
<include file="Public/menu" />
<!-- 右侧主体 -->
<div id="dcMain">
    <div id="urHere">
        网站权限管理
    </div>
    <div id="index" class="mainBox" style="padding-top:18px;height:auto!important;height:550px;min-height:550px;">
        <div class="indexBox">
            <!-- 右侧导航 -->
            <ul class="ipage">
                <a href="{:U('Managerlist/index')}">返回列表</a>
                <div class="clear"></div>
            </ul>
        </div>
<!-- 详情页 -->
<div class="indexBox">
    <script type="text/javascript">
        $(function(){
            $(".idTabs").idTabs();
        });
    </script>
    <div class="idTabs">
        <ul class="tab">
            <li><a href="#main">编辑管理员信息</a></li>
        </ul>
        <div class="items">
            <div id="main">
                <form action="{:U('Managerlist/edit_admin_do')}" method="post">
                    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
                        <tbody>
                            <tr>
                                <th width="131">名称</th>
                                <th>内容</th>
                            </tr>
                            <tr>
                                <td align="center">管理员名称</td>
                                <td>
                                    <input type="text" name="username" value="{$admin_member[0]['username']}" size="80" class="inpMain" />
                                </td>
                            </tr>
                            <tr>
                                <td align="center">管理员邮箱</td>
                                <td>
                                    <input type="text" name="email" value="{$admin_member[0]['email']}" size="80" class="inpMain" />
                                </td>
                            </tr>
                            <tr>
                                <td align="center">管理员角色</td>
                                <td>
                                    <select name="role_id">
                                        <option value="0">不添加角色</option>
                                        <volist name="role" id="v">
                                            <option value="{$v.id}">{$v.role_name}</option>
                                        </volist>
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td align="center">禁用状态</td>
                                <td align="left">
                                    <eq name="admin_member[0]['state']" value="0">
                                        <input type="radio" name="state" value="0" checked="checked" />禁用
                                        <input type="radio" name="state" value="1" />开启
                                    <else />
                                        <input type="radio" name="state" value="0"  />禁用
                                        <input type="radio" name="state" value="1" checked="checked"/>开启
                                    </eq>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="center">
                                    <input type="hidden" name="id" value="{$admin_member[0]['id']}" />
                                    <input name="submit" class="btn" type="submit" value="提交" />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>
<include file="Public/footer" />